const pageProps = require('../tw-lib-base/page/props')

module.exports = {
  navList: {
    type: Array,
    default () {
      return [
        {
          name: '导航1',
          href: '/nav1.html'
        },
        {
          name: '权限导航',
          href: '/role.html',
          roles: ['1000000002']
        }
      ]
    },
    name: '导航列表',
    nameTip: 'activeText:url路径中包含该文本则导航会标记为选中',
    filedType: 'api'
  },

  ...pageProps,

  icons: {
    type: Array,
    default () {
      return []
    },
    name: '导航图标列表',
    filedType: 'file',
    limit: 100,
    maxSize: 1024
  },

  activeIcons: {
    type: Array,
    default () {
      return [
      ]
    },
    name: '导航激活图标',
    filedType: 'file',
    limit: 100,
    maxSize: 1024
  },

  iconSize: {
    type: String,
    default: '20px',
    name: '图标尺寸',
    filedType: 'string'
  }
}
